package com.xl.xlserver.service.impl;

import com.xl.xlserver.entity.GameUser;
import com.xl.xlserver.entity.GameUserExample;
import com.xl.xlserver.mapper.GameUserMapper;
import com.xl.xlserver.service.GameUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class GameUserServiceImpl implements GameUserService {

    @Resource
    private GameUserMapper gameUserMapper;
    @Override
    public Object get() {
        return gameUserMapper.selectByPrimaryKey("1");
    }

    @Override
    public GameUser selectByName(String name) {
      return gameUserMapper.selectByPrimaryUserName(name);
    }
}
